package org.zjx.command.service;

import org.zjx.command.Command;
import org.zjx.core.IWindow;
import org.zjx.enums.FontAttribute;
import org.zjx.state.StateManager;

import java.awt.*;
import java.awt.image.BufferedImage;

public class IdentifyErrorCommand extends Command {
    private final BufferedImage image;
    private final Rectangle rectangle;
    private final FontAttribute fontAttribute;

    public IdentifyErrorCommand(IWindow targetWindow, StateManager stateManager, BufferedImage screenshot, Rectangle rectangle, FontAttribute fontAttribute) {
        super(targetWindow, false, stateManager);
        this.image = screenshot;
        this.rectangle = rectangle;
        this.fontAttribute = fontAttribute;
    }

    @Override
    protected void doExecute() throws Exception {
        System.out.println("[识字]提交错误内容");
    }
}
